/zabbix/fonts,Ls/usr/share/zabbix/fontsLs-l/etc/alternatives/zabbix-web-font/usr/share/fonts/dejavu/dejavusans.ttfAnd the font file is "Zbx_graph_font_name" defined by the soft connection "Graphfont", it is a file, the absolute path is/usr/share/zabbix/fonts/graphfontTo connect the soft connect ' graphfont ' to a connection with Chinese, you canThe Windows font path is "C:\Windows\Fonts\" and"simfang.ttf"is found( In fact, that is the imitation Simplified ), first copy it to the desktop, and th
Guo XiaoxingWeibo: Guo Xiaoxing's Sina WeiboEmail:[email protected]Blog: http://blog.csdn.net/allenwellsGithub:https://github.com/allenwellThe project building system for Android Studio is Gradle.What is Gradle?
Gradle is based on the Groovy language and is oriented toward Java applications. Automated building tools based on DSL (domain-specific language) syntax.
What are the advantages of gradle?
Gradle support for multi-
created automatically.
Layout Name: The configuration file name of the activity that was created automatically.
Title: The name of the activity that was created automatically.
Menu Resource Name: The menu file name of the activity that was created automatically.
After 4 steps, our project is created, it contains a default module, and we can create a new module with the File->new module.When you create a module, there are 4 options, each of which has the following meanings:
The previous article introduced how to deal with transient and alarm flooding in the query mode. This article will introduce the trend discovery in streaminsight. Test data preparation
To facilitate test query, we first prepare a static test data source:
VaR Sourcedata = New [] { New {Sourceid = "" , Value = 22 , Status = 1 , Timestamp = datetime. parse ( "10/23/2009 4:12:00" )}, New {Sourc
directly from the menu)
Select the project you exported in Eclipse, expand the directory, click the Build.gradle file, and then OK
In the following pop-up dialog, you will be asked to select the Gradle configuration and select Use Gradle wrapper. (Note: You can also customize the gradle of your own machine)
If you do not have a grade build file, you can also import a normal Android project into Andro
rtps_discovery Discovery mode communication Port
Take (domainid=0) as an example
Broadcast addresses and ports
Unicast addresses and ports
SPDP Port
239.255.0.1:7400Broadcast address, can be set by interopmulticastoverride, such as interopmulticastoverride=239.255.0.11,
0.0.0.0:7410OpenDDSv3.9 and later, unicast addressCan be set by spdplocaladdress.
SEDP
directoryCompile Filetree (dir:' Libs ', include: [' *.jar ']) Compile' com.android.support:appcompat-v7:22.1.1 ' //Compile the Shimmerandroid module in the Extras directoryCompile Project (': Extras:shimmerandroid ')}A few notes on the above documents:
Apply plugin is the latest gradle version of the wording, the previous wording is the Apply plugin: ' Android '.
Buildtoolsversion This requires you to install the version locally, man
Guo XiaoxingWeibo: Guo Xiaoxing's Sina WeiboEmail:[email protected]Blog: http://blog.csdn.net/allenwellsGithub:https://github.com/allenwellDownload Android StudioBecause a lot of people do not even on the Android website, here is the Android Studio Chinese group, their update service is very good.Android Studio DownloadTwo install
variables. For example, to assign a variable to a SQL in parentheses
Ctrl+alt+t can wrap code inside a piece, such as Try/catch
Alt+up and Alt+down can be moved quickly between methods
Alt+enter can get some intention Action, for example, change "= =" to "Equals ()"
Ctrl+shift+alt+n to quickly open symbols
Ctrl+shift+space can give smart hints in many cases
ALT+F3 can quickly find
ctrl+/and ctrl+shift+/can annotate code
Ctrl+alt+b can jump to the implementation of an abstract me
Use of the Android network service discovery (NSD) Protocol
Android's Network Service Discovery Protocol (NSD) can be used to discover an application on a nearby device in a small network. This is very helpful for some social networks and multiplayer games.
Android NSD can be used in four ways:
1.Register a network ser
Service Discovery IntroductionIn Android Wifidirect Learning (a), a simple description of how to use Wifidirect for search-connect-transfer.The problem with this is that you will be searching all the nearby network devices that are in the Wifidirect search state, and these devices are not necessarily the one you want to connect to.The Android Wifidirect API provi
for positioning ·Allocation Tracker: Use this tool to track the allocation of memory, as mentioned earlier.Heap Tool: View the current memory snapshot to facilitate a comparative analysis of which objects may be leaking.You can now navigate to a piece of code that has a memory leak or jitter.If it is a memory leak resolution, it is straightforward to empty the leaking object at the appropriate time.But if only the memory jitter, scored two cases, because the memory jitter is created in a short
Objective:The previous summary of sharing data between programs, you can use ContentProvider can also use sharedpreference, then how to share memory between processes? There is no sharing of memory between processes in the Android system, so there are mechanisms that need to be provided for data communication between different processes.To enable other applications to access the services provided by the application, the
Today, when I write a project, I import a jar file that I wrote, and I can't find the jar file error when I debug it:08-06 21:42:10.744:e/androidruntime (2578): java.lang.RuntimeException:Unable to instantiate activity componentinfo{ Com.example.iotlife/com.example.iotlife.mainactivity}: Java.lang.ClassNotFoundException:Didn ' t find class " Com.example.iotlife.MainActivity "on Path:dexpathlist[[zip file"/data/app/com.example.iotlife-1.apk "], Nativelibrarydirectories=[/data/app-lib/com.example.
Android design mode (14)-adapter mode and android Design Mode
Tragedy interview questions:
Briefly Talk About the adapter mode in Android;
Which adapters does the Adapter have?
Draw the
Android design mode-builder mode and android design mode --
Looking back at what I wrote, the code written on Android custom controls has a high applicability, but does not seem to have any technical content. So when learning the
L this document references and uses free images and content on the Internet, and is released in a free and open manner, hoping to contribute to the mobile Internet and the smart phone age! This document can be reproduced at will, but cannot be used for profit.
L if you have any questions or suggestions about this document, go to the official blog
Http://www.cnblogs.com/guoshiandroid/ (with the following contact information), we will carefully refer to your suggestions and modify this documen
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.